﻿using BootyBay.PrivateStoreApp.AgentServicesRef;
using BootyBay.PrivateStoreApp.Common;
using BootyBay.PrivateStoreApp.StoreServicesRef;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BootyBay.PrivateStoreApp.DataModel
{
    public class UserAppDataModel : BindableBase
    {
        public View_Application AppView { get; private set; }

        public UserAppDataModel(View_Application appView)
        {
            this.AppView = appView;
            this.OptStatus = AppOperationStatus.Unknown;
        }

        //public string AppName { get { return this.appInfo.DisplayName; } }
        //public string PublisherName { get { return this.appInfo.PublisherDisplayName; } }

        //public string Version { get { return this.appInfo.Version; } }

        //public string AppDescription { get { return this.appInfo.Description; } }

        //public int AppVersionInfoID { get { return this.appInfo.Id; } }


        private AppLocalStatus m_LocalStatus;
        public AppLocalStatus LocalStatus { get { return m_LocalStatus; } set { SetProperty(ref m_LocalStatus, value); } }

        private AppOperationStatus m_OptStatus;
        public AppOperationStatus OptStatus { get { return m_OptStatus; } set { SetProperty(ref m_OptStatus, value); } }

        private AppOperationType m_OptType;
        public AppOperationType OptType { get { return m_OptType; } set { SetProperty(ref m_OptType, value); } }
   
    }
}
